# app/core/config.py

import os
from dotenv import load_dotenv

load_dotenv()

class Settings:
    SECRET_KEY: str = os.getenv("SECRET_KEY", "7rxHDz9TbNUsjSy3v2evhPg27N6wh-l7rp8TDWKr8OdqtEOrhX3lCLQ5x3UUlYgL")

settings = Settings()

import os

DATABASE_URL = os.getenv("DATABASE_URL", "mysql+mysqlconnector://username:password@localhost/dbname")

import os

class Config:
    SECRET_KEY = os.environ.get('SECRET_KEY', 'your-secret-key')
    SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL', 'mysql://user:123456@localhost/travel_carving')

    SQLALCHEMY_TRACK_MODIFICATIONS = False
